|
![](/i/fill.gif) |
Therein lies the problem. I guess I forgot that part of the code: location
is of type (void *). I want location (and all elements of the array) to be
able to hold anything (pointer to a texture, an object, a vector,...). MFC,
of course, has untyped pointer collection classes, but I'm hoping for a
certain degree of portability here...
"Thorsten Froehlich" <tho### [at] trf de> wrote in message
news:3d20da0f$1@news.povray.org...
> In article <3d20cb07$1@news.povray.org> , "cadman"
> <REM### [at] povray co uk> wrote:
>
> > *location=thing;
>
> Make sure location is of type (CMyObject **) , then use casting.
>
> Thorsten
Post a reply to this message
|
![](/i/fill.gif) |